package com.suiwei.webservice.base.wsServer;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService(
        name = "GreetWebService", // 暴露服务名称
        targetNamespace = "http://wsServer.webservice.suiwei.com"// 命名空间,一般是接口的包名倒序
)
public interface GreetWebService {

    //@WebResult(name = "String", targetNamespace = "")
    //@WebMethod
    //String greeting(@WebParam(name = "name") String name);

    //exclude声明该方法不发布
    //@WebMethod(exclude = true)
    //String greeting(String name);

    @WebMethod
    String greeting(String name);
}